package com.mjw.tender.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class PageDto<T> implements Serializable {
    private List<T> list;
    private long total;

    public PageDto(){

    }

    public PageDto(List<T> list, long total) {
        this.list = list;
        this.total = total;
    }
}
